package com.jspgou.cms.manager;

import java.math.BigDecimal;
import java.util.List;
import com.jspgou.cms.entity.MemberCoupon;

/**
 * 品牌管理接口
 * 
 * @author liufang
 * 
 */
public interface MemberCouponMng {
	
	public List<MemberCoupon> getList(Long memberId);
	
	public List<MemberCoupon> getList(Long memberId,BigDecimal price);
	
	public MemberCoupon findByCoupon(Long memberId,Long couponId);
	
	public MemberCoupon save(MemberCoupon bean);
	
	public MemberCoupon getMemberCouponByCode(String code);
//	public Coupon update(Coupon bean,Long pTypeid);
//
//	public Coupon[] deleteByIds(Long[] ids,String url);
//	public void fetchCoupon(BigDecimal bd,Long memberId);
	public MemberCoupon update(MemberCoupon bean);
	
	public MemberCoupon findById(Long id);
}